package com.example.week08.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.week08.dao.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * 批量插入
     *
     * @param list
     * @return
     */
    int batchInsert(List<User> list);

}